export default [
  {
    // 基本页面
    path: 'template/base',
    component: () => import('@/templates/base/index.vue'),
    name: 'base',
    meta: { title: '基本页面', icon: 'el-icon-document' }
  },
  {
    // 生成ppt
    path: 'template/ppt',
    component: () => import('@/templates/ppt/index.vue'),
    name: 'ppt',
    meta: { title: '生成ppt', icon: 'el-icon-document' }
  },
  {
    // 生成excel表格
    path: 'template/xlsx',
    component: () => import('@/templates/xlsx/index.vue'),
    name: 'xlsx',
    meta: { title: '生成xlsx', icon: 'el-icon-document' }
  },
  {
    // 生成路线图表格
    path: 'template/xlsxline',
    component: () => import('@/templates/xlsxline/index.vue'),
    name: 'xlsxline',
    meta: { title: '生成路线图表格', icon: 'el-icon-document' }
  },
  {
    // 生成路线图表格
    path: 'template/cvsline',
    component: () => import('@/templates/cvsline/index.vue'),
    name: 'cvsline',
    meta: { title: '生成路线图表格', icon: 'el-icon-document' }
  },
  /**
   * 分栏
   * @date     2020-03-11
   */
  {
    // 分栏
    path: 'template/columns',
    component: () => import('@/templates/columns/index.vue'),
    name: 'Columns',
    meta: { title: '分栏', icon: 'el-icon-document' }
  },
  {
    // 分栏分类
    path: 'template/columns-category',
    component: () => import('@/templates/columns-category/index.vue'),
    name: 'ColumnsCategory',
    meta: { title: '分栏分类', icon: 'el-icon-document' }
  },
  {
    // 分栏分类编辑
    path: 'template/columns-category-edit',
    component: () => import('@/templates/columns-category-edit/index.vue'),
    name: 'ColumnsCategoryEdit',
    meta: { title: '分栏分类编辑', icon: 'el-icon-document' }
  },
  /**
   * 表格
   * @date     2020-03-11
   */
  {
    // 表格
    path: 'template/table',
    component: () => import('@/templates/table/index.vue'),
    name: 'Table',
    meta: { title: '表格', icon: 'el-icon-document' }
  },
  {
    // 表格搜索
    path: 'template/table-search',
    component: () => import('@/templates/table-search/index.vue'),
    name: 'TableSearch',
    meta: { title: '表格搜索', icon: 'el-icon-document' }
  },
  {
    // 表格分页
    path: 'template/table-pagination',
    component: () => import('@/templates/table-pagination/index.vue'),
    name: 'TablePagination',
    meta: { title: '表格分页', icon: 'el-icon-document' }
  },
  {
    // 表格搜索分页
    path: 'template/table-search-pagination',
    component: () =>
      import('@/templates/table-search-pagination/index.vue'),
    name: 'TableSearchPagination',
    meta: { title: '表格搜索分页', icon: 'el-icon-document' }
  },
  {
    // 表格搜索分页2
    path: 'template/table-search-pagination2',
    component: () =>
      import('@/templates/table-search-pagination2/index.vue'),
    name: 'TableSearchPagination2',
    meta: { title: '表格搜索分页', icon: 'el-icon-document' }
  },
  {
    // 表格搜索分页编辑
    path: 'template/table-search-pagination-edit',
    component: () =>
      import('@/templates/table-search-pagination-edit/index.vue'),
    name: 'TableSearchPaginationEdit',
    meta: { title: '表格搜索分页编辑', icon: 'el-icon-document' }
  },
  {
    // 表格搜索树
    path: 'template/table-search-tree',
    component: () =>
      import('@/templates/table-search-tree/index.vue'),
    name: 'TableSearchTree',
    meta: { title: '表格搜索树', icon: 'el-icon-document' }
  },
  {
    // 表格搜索树编辑
    path: 'template/table-search-tree-edit',
    component: () =>
      import('@/templates/table-search-tree-edit/index.vue'),
    name: 'TableSearchTreeEdit',
    meta: { title: '表格搜索树编辑', icon: 'el-icon-document' }
  },
  {
    // 多选表格
    path: 'template/multitable',
    component: () => import('@/templates/multitable/index.vue'),
    name: 'MultiTable',
    meta: { title: '多选表格', icon: 'el-icon-document' }
  },
  {
    // 多选表格搜索
    path: 'template/multitable-search',
    component: () => import('@/templates/multitable-search/index.vue'),
    name: 'MultiTableSearch',
    meta: { title: '多选表格搜索', icon: 'el-icon-document' }
  },
  {
    // 多选表格分页
    path: 'template/multitable-pagination',
    component: () => import('@/templates/multitable-pagination/index.vue'),
    name: 'MultiTablePagination',
    meta: { title: '多选表格分页', icon: 'el-icon-document' }
  },
  {
    // 多选表格搜索分页
    path: 'template/multitable-search-pagination',
    component: () =>
      import('@/templates/multitable-search-pagination/index.vue'),
    name: 'MultiTableSearchPagination',
    meta: { title: '多选表格搜索分页', icon: 'el-icon-document' }
  },
  {
    // 多选表格搜索分页编辑
    path: 'template/multitable-search-pagination-edit',
    component: () =>
      import('@/templates/multitable-search-pagination-edit/index.vue'),
    name: 'MultiTableSearchPaginationEdit',
    meta: { title: '多选表格搜索分页编辑', icon: 'el-icon-document' }
  },
  /**
   * 表单
   * @date     2020-03-11
   */
  {
    // 基本表单
    path: 'template/form-base',
    component: () => import('@/templates/form-base/index.vue'),
    name: 'FormBase',
    meta: { title: '基本表单', icon: 'el-icon-document' }
  },
  {
    // 基本表单
    path: 'template/form-demo',
    component: () => import('@/templates/form-demo/index.vue'),
    name: 'FormDemo',
    meta: { title: 'demo', icon: 'el-icon-document' }
  },
  {
    // 添加
    path: 'template/form-add',
    component: () => import('@/templates/form-add/index.vue'),
    name: 'FormAdd',
    meta: { title: '添加', icon: 'el-icon-document' }
  },
  {
    // 编辑
    path: 'template/form-edit',
    component: () => import('@/templates/form-edit/index.vue'),
    name: 'FormEdit',
    meta: { title: '编辑', icon: 'el-icon-document' }
  },
  {
    // 详情
    path: 'template/form-detail',
    component: () => import('@/templates/form-detail/index.vue'),
    name: 'FormDetail',
    meta: { title: '详情', icon: 'el-icon-document' }
  },
  {
    // 循环
    path: 'template/form-loop',
    component: () => import('@/templates/form-loop/index.vue'),
    name: 'FormLoop',
    meta: { title: '循环', icon: 'el-icon-document' }
  },
  {
    // 上传文件
    path: 'template/form-upload',
    component: () => import('@/templates/form-upload/index.vue'),
    name: 'FormUpload',
    meta: { title: '上传文件', icon: 'el-icon-document' }
  },
  {
    // 上传文件列表
    path: 'template/form-upload-list',
    component: () => import('@/templates/form-upload-list/index.vue'),
    name: 'FormUpload',
    meta: { title: '上传文件列表', icon: 'el-icon-document' }
  },
  {
    // 树下拉选择
    path: 'template/form-tree-select',
    component: () => import('@/templates/form-tree-select/index.vue'),
    name: 'FormTreeSelect',
    meta: { title: '树下拉选择', icon: 'el-icon-document' }
  },
  {
    // kind编辑器
    path: 'template/form-kindeditor',
    component: () => import('@/templates/form-kindeditor/index.vue'),
    name: 'FormKindeditor',
    meta: { title: 'kind编辑器', icon: 'el-icon-document' }
  },
  {
    // tinymce编辑器
    path: 'template/form-tinymce',
    component: () => import('@/templates/form-tinymce/index.vue'),
    name: 'FormKindeditor',
    meta: { title: 'tinymce编辑器', icon: 'el-icon-document' }
  },
  {
    // 设置头像
    path: 'template/form-setheader',
    component: () => import('@/templates/form-setheader/index.vue'),
    name: 'FormSetheader',
    meta: { title: '设置头像', icon: 'el-icon-document' }
  },
  /**
   * 弹窗
   * @date     2020-03-11
   */
  {
    // 基本弹窗
    path: 'template/dialog-base',
    component: () => import('@/templates/dialog-base/index.vue'),
    name: 'DialogBase',
    meta: { title: '基本弹窗', icon: 'el-icon-document' }
  },
  {
    // 高级弹窗
    path: 'template/dialog-senior',
    component: () => import('@/templates/dialog-senior/index.vue'),
    name: 'DialogSenior',
    meta: { title: '高级弹窗', icon: 'el-icon-document' }
  },
  {
    // 表单弹窗
    path: 'template/dialog-form',
    component: () => import('@/templates/dialog-form/index.vue'),
    name: 'DialogForm',
    meta: { title: '表单弹窗', icon: 'el-icon-document' }
  },
  {
    // 表单弹窗
    path: 'template/dialog-table',
    component: () => import('@/templates/dialog-table/index.vue'),
    name: 'DialogTable',
    meta: { title: '表格弹窗', icon: 'el-icon-document' }
  },
  {
    // 图标选择
    path: 'template/dialog-icons',
    component: () => import('@/templates/dialog-icons/index.vue'),
    name: 'DialogIcons',
    meta: { title: '图标选择', icon: 'el-icon-document' }
  },
  {
    // 添加编辑弹窗
    path: 'template/dialog-addedit',
    component: () => import('@/templates/dialog-addEdit/index.vue'),
    name: 'AddEditDialog',
    meta: { title: '添加编辑弹窗', icon: 'el-icon-document' }
  }
]
